//
//  BIZAdeptSkillCollectionViewcell.m
//  biz
//
//  Created by zhangfuwei on 2017/4/10.
//  Copyright © 2017年 jieshuibao. All rights reserved.
//

#import "BIZAdeptSkillCollectionViewcell.h"

@interface BIZAdeptSkillCollectionViewcell ()

@property (strong, nonatomic) IBOutlet UIButton *contentButton;


@end

@implementation BIZAdeptSkillCollectionViewcell

- (void)awakeFromNib {
    [super awakeFromNib];
//     Initialization code
//    UIView *gray = [[UIView alloc]init];
//    gray.backgroundColor = [UIColor whiteColor];
//
//    UIView *blue = [[UIView alloc] init];
//    blue.backgroundColor = COLOR_WORD_BLUE;
    self.backgroundView = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"tagcell_bg_normal"]];
    self.selectedBackgroundView =  [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"tagcell_bg_selected_blue"]];;
}

-(void)setContent:(NSString *)content {
    _content = content;
    [_contentButton setTitle:content forState:UIControlStateNormal];
    [_contentButton setTitleColor:COLOR_WORD_GRAY_1 forState:UIControlStateNormal];
    [_contentButton setTitleColor:COLOR_WORD_BLUE forState:UIControlStateSelected];
    
    _contentButton.userInteractionEnabled = NO;
//    [_contentButton setBackgroundImage:[UIImage imageNamed:@"tagcell_bg_normal"] forState:UIControlStateNormal];
//    [_contentButton setBackgroundImage:[UIImage imageNamed:@"tagcell_bg_selected"] forState:UIControlStateSelected];
    
}

- (IBAction)buttonClick:(id)sender {
//    _contentButton.selected = !_contentButton.selected;
}


@end
